#pragma once
#include "SingletonWindow.h"
#include "UIManager.h"
#include "DXUTgui.h"

class JoinGameWindow : public SingletonWindow<JoinGameWindow>
{
public:
	JoinGameWindow();
	~JoinGameWindow();
	
protected:
	virtual bool OnOpen();
	virtual void OnDestory();

private:
	const int mCancelButtonID;
	CDXUTEditBox* mGameNameEditBox;
	CDXUTButton* mJoinGameButton;

	bool OnGameNameChanged(CDXUTControl*);
	bool OnJoinClicked(CDXUTControl*);
	bool OnCancelClicked(CDXUTControl*);
};

